package com.lkd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkd.entity.OrderEntity;
import com.lkd.vo.PayVO;

public interface OrderService extends IService<OrderEntity> {


    /**
     * 通过订单编号获取订单实体
     *
     * @param orderNo
     * @return
     */
    OrderEntity getByOrderNo(String orderNo);


    /**
     * 微信小程序支付创建订单
     *
     * @param payVO 封装的支付对象
     * @return
     */
    OrderEntity createOrder(PayVO payVO);


}
